package modelo;



public enum Misas {
	Maitines(1), Laudes(2), Prima(3), Tercia(4), Sexta(6), Nona(6), Visperas(6), Completas(6);
	private int numberOfCards;
	
	Misas(int numberOfCards){
		this.numberOfCards=numberOfCards;
	}
	
	public int getCartasPorMisa(){
		return this.numberOfCards;
	   }
	
	public String toString(){
		String p="";
		switch(this){
		case  Maitines: p="Maitines";
		break;
		case Laudes: p="Laudes"; 
		break; 
		case Prima: p="Prima";
		break;
		case Tercia : p="Tercia";
		break;
		case Sexta: p = "Sexta";
		break;
		case Nona: p = "Nona";
		break;
		case Visperas: p = "Visperas";
		break;
		case Completas: p = "Completas";
		break;
		}
		return p;
	}
	
	
}
